package com.lizb.scserviceconsumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name= "service-zuul")
public interface TestZuulService {

    /**
     * restful api 调用
     * @return
     */
    @GetMapping("/api-demo/info/{testParam}?accessToken=1")
    String hello(@PathVariable("testParam") String testParam);

}
